home *** CD-ROM | disk | FTP | other *** search
/ Space & Astronomy / Space and Astronomy (October 1993).iso / mac / VIEWERS / MSDOS / VPIC48.ZIP / VPIC.DOC < prev    next >
Text File  |  1992-02-27  |  66KB  |  1,258 lines

  1.  
  2.  
  3.  
  4.                              VPIC USERS MANUAL
  5.                    A Picture File Viewing/Conversion Program
  6.             (C) Copyright 1990 Bob Montgomery, All Rights Reserved
  7.                             by Bob Montgomery
  8.                               CIS 73357,3140
  9.  
  10.     INTRODUCTION
  11.     Background
  12.  
  13.     The original program was called VGIF, reflecting its ability  to  view  only
  14.     GIF files. When the program evolved to include other paint file formats, its
  15.     name was changed to VPIC. VPIC ver 4.0 and up implements  all  of the GIF89a
  16.     features. See the revision history in Appendix  A  for  latest additions and
  17.     bug fixes.
  18.  
  19.     Print VPIC.TXT at 17 chars/inch and 8 lines/inch for a handy reference card.
  20.     Look at the section titled 'How Vpic Operates'  for  an  explanation of  the
  21.     differences between VPIC and other viewers,  and  the  advantages  and  dis-
  22.     advantages of both types.
  23.  
  24.     IMPORTANT: VPIC requires DOS 2.0 or up to run from the current directory, or
  25.     DOS 3.0 up to run from anywhere.  You must configure VPIC for your  graphics
  26.     board using CVPIC or CONFIG (unless you have a Tseng ET-4000 SuperVGA  board
  27.     with 1M memory). The WHICHVGA program will try to  identify  your  VGA  chip
  28.     and the amount of display memory. See CONFIG.DOC.
  29.  
  30.     The Graphics Interchange Format (GIF) is a Service Mark owned by Compuserve.
  31.     For further information, please contact:
  32.         Compuserve Incorporated, Graphics Technology Department,
  33.         5000 Arlington Center Boulevard, Columbus, Ohio 43220, USA
  34.  
  35.     GENERAL FEATURES - VPIC is a very easy to use but powerful file  viewer  and
  36.     converter. It shows pictures in EGA, MCGA, VGA or SuperVGA  video  modes  on
  37.     most of the popular display adapter cards,  and uses a  plain  text  config-
  38.     uration file to tell VPIC which VGA chip your display  card  uses  and  what
  39.     video modes it can do.  It will show and  convert  pictures  to  other  file
  40.     formats, and has a single file, slideshow, and menu mode of  operation.  The
  41.     menu mode lists all viewable files in a 4  column  menu  with  easy  to  use
  42.     controls to allow you to  show  pictures  the  way  you  want  to  see  them
  43.     (including a slide mode). The single file mode has advanced  features  which
  44.     make it attractive to an application program as  a  utility  for  displaying
  45.     graphics. The slideshow mode uses a plain  text  command  file  listing  the
  46.     pictures you want to see in the order you want to see them,  with  mode  and
  47.     delay specs if desired.  When a picture is on the screen,  except  in  slide
  48.     modes, VPIC has commands to manipulate the picture, or convert  the  picture
  49.     to other file formats.
  50.  
  51.  
  52.  
  53.  
  54.                                   INDEX
  55.  
  56.     Topic                                                                Page
  57.     ============================================================================
  58.     SuperVGA Boards Supported ............................................. 1
  59.     Filetypes Viewed nad Converted ........................................ 1
  60.     Menu Features ......................................................... 2
  61.         Mouse Support ..................................................... 2
  62.         Menu Layout ....................................................... 2
  63.     Commands while Viewing ................................................ 3
  64.     VPIC Command Line Options ............................................. 4
  65.     Examples of VPIC Command Line Options ................................. 5
  66.     Slideshows ............................................................ 6
  67.     Detailed Command List ................................................. 7
  68.         Keyboard and Mouse Commands in Menu Mode .......................... 7
  69.         Keyboard Commands while Viewing a Picture ......................... 8
  70.     Decoding Other File Formats .......................................... 11
  71.     Added features ....................................................... 11
  72.     Known Problems ....................................................... 11
  73.     Support For Other SuperVGA Boards .................................... 12
  74.     How VPIC Operates .................................................... 13
  75.         Decoding Directly to Screen Memory ............................... 13
  76.         Decoding to CPU Memory First ..................................... 13
  77.     VPIC Terms and Conditions ............................................ 14
  78.     Upgrades from Previous Programs and Updates .......................... 15
  79.     Orders from Me ....................................................... 15
  80.     Disclaimer ........................................................... 15
  81.     Special Versions ..................................................... 16
  82.     Graphic Oriented BBS's ............................................... 16
  83.     Appendix A - Revision History ........................................ A1
  84.         History of VGIF .................................................. A1
  85.         History of VPIC .................................................. A3
  86.  
  87.  
  88.                                                                          Page 1
  89.  
  90.  
  91.     SUPERVGA BOARDS SUPPORTED  -  Presently, VPIC has SuperVGA support  for  the
  92.     following SuperVGA chips (see CONFIG.DOC for details):
  93.     *  Ahead (A & B chip)
  94.     *  ATI New and old boards.
  95.     *  Chips & Technology
  96.     *  Everex
  97.     *  Genoa
  98.     *  Headland - Newer Video 7 cards.
  99.     *  Oak
  100.     *  Paradise - Older Paradise cards.
  101.     *  S3 GUI Accelerator - Doesn't use VESA info since not all modes supported.
  102.     *  Trident (8800BS/CS and 8900)
  103.     *  Tseng(ET-3000 and ET-4000)
  104.     *  Video 7 - Older Video 7 cards.
  105.     *  Western Digital - Recent Paradise cards.
  106.     *  Zymos
  107.     The CONFIG program semi-automates the configuration process. If your display
  108.     board implements the VESA standard (thru BIOS or a TSR), this will be  auto-
  109.     detected and used regardless of the configuration; the only drawback to VESA
  110.     is you can't scroll down quite as far. The /v command line option makes VPIC
  111.     ignore the VESA info your display card returns, and  use  the  configuration
  112.     info.
  113.  
  114.  
  115.     FILETYPES VIEWED AND CONVERTED - VPIC will view and convert to the following
  116.     file formats [convert command while viewing in brackets]:
  117.      1. Dr. Halo CUT files (with PAL if present). Not Dr. Halo PIC files,  which
  118.         are display adapter specific. [C]
  119.      2. GIF87a and GIF89a files; saves to GIF87a format only since GIF89a  stuff
  120.         is  mainly  animation  and  text  handling  enhancements.    [G normal],
  121.         [I interlaced], [M mirrored],  [U upside down],  [< rotated CCW 90 deg],
  122.         [> rotated CW 90 deg].
  123.      3. Deluxe Paint LBM (or IFF) files, regular and enhanced. [D]
  124.      4. MacIntosh MAC files. Display only.
  125.      5. Pictor/PC Paint PIC files. [P]
  126.      6. ZSoft PCX files (including 256 color files). [Z]
  127.      7. ColorRIX/EGA Paint SCx files, uncompressed only.  RIX  wont tell  anyone
  128.         his compression algorithm,  so  compressed  files  can't  be  done.  Use
  129.         RIXLATE to uncompress SCx files that are compressed. [R]
  130.      8. Targa 8 thru 32 TGA files, compressed or uncompressed. Also uncompresses
  131.         Targa files that are compressed (e option while viewing).  Now  supports
  132.         the Sierra DAC in 15 bit color, but file conversion options  don't  work
  133.         from viewing screen. [T]
  134.      9. Binary Image Files (BIF) from B&W image capture boards. Display only.
  135.     10. Microsoft Windows 3.0 Bitmap BMP files, compressed or normal. [W]
  136.     11. Viewpoint PIC files with a fixed palette (usually 1024x768x256). Display
  137.         only.
  138.  
  139.                                                                          Page 2
  140.  
  141.  
  142.     MENU FEATURES:
  143.  
  144.     *  Handles up to 500 files using mouse or keyboard.
  145.     *  Gives 4 column menu of files with extensions VPIC recognizes.
  146.     *  Arrow keys, PgUp/PgDn move thru menu.
  147.     *  Starting letter (or number) of filename jumps to files starting with that
  148.        character.
  149.     *  Shows file at cursor with ENTER or left mouse button.
  150.     *  Mark/unmark files for viewing with SPACEBAR or right mouse button.
  151.     *  Shows marked files singly (ENTER or left mouse button) or  like  a  slide
  152.        show (F2).
  153.     *  [F1] gives help.
  154.     *  [F2] shows marked files like a slideshow.
  155.     *  [F3] gives file size and colors.
  156.     *  [F4] toggles between 16 (EGA) and 256 (VGA) color modes.
  157.     *  [F5/F6] decrease/increase default resolution.
  158.     *  [F7] Locks current resolution, or selects auto resolution mode.
  159.     *  [F8] Makes multiple GIF images pause for a keypress.
  160.     *  [F9] prompts for new path.
  161.     *  [F10] shows current path for files.
  162.     *  Alt_D prompts for new slide delay for slideshow (F2).
  163.     *  Alt_X prompts if you want to delete the file at the cursor.
  164.     *  Menu text color setable in configuration file.
  165.  
  166.     MOUSE SUPPORT All the above functions are now  controllable  by  the  mouse.
  167.     Click on the resolution bar, bottom 2 lines of quick help, or files. For the
  168.     menu screen, the left button is the same as enter, and the right  button  is
  169.     the same as the spacebar. While decoding, the  right  button  aborts;  while
  170.     viewing, the left button returns to the menu.
  171.  
  172.     MENU LAYOUT  - Menu lines are as follows:
  173.     1. Gives the board type along with the number of colors (16 or 256).  Toggle
  174.        values also appear on this line (Lock/Auto, Wait).
  175.     2. Gives the resolutions available with the default resolution highlighted.
  176.     3 - 22. Four column menu of files with extensions VPIC recognizes.
  177.     23. Prompt and message line. Free memory displayed at far right.
  178.     24 & 25. Quick help on commands.
  179.  
  180.                                                                          Page 3
  181.  
  182.  
  183.     COMMANDS WHILE VIEWING  -  The following commands  (shown  in  brackets) are
  184.     available when the picture is on the screen (/ or ? gives a help menu):
  185.     *  Shows filename while decoding, and [ESC] aborts decoding.
  186.     *  [A] animates a  picture  by  rotating  the  palette;  very  pleasing  for
  187.        fractals. SPACEBAR pauses the  animation,  ENTER  stops  it  for  further
  188.        commands such as conversions, and ESC returns to the menu.  Up/Dn  arrows
  189.        and PgUp/PgDn increase/decrease the animation rate.
  190.     *  [B] converts a 256 color picture to 64 gray shades. 256 color modes only.
  191.     *  [E] expands a compressed Targa to disk for use by other programs.
  192.     *  [F] prompts for another  filename  and  x,y  margins;  gives  picture  in
  193.        picture. Works best when VPIC invoked with /m, /x,  and  /y options  (see
  194.        command line options).
  195.     *  [C, D, G, I, M, P, R, T, U, W, Z, <, >] are file conversion commands; see
  196.        'FILETYPES VIEWED' above.  The picture is  converted  in  the  number  of
  197.        colors you are viewing it in, thus allowing 256 <-> 16 color conversions.
  198.     *  [Alt F] momentarily display filename in case you forgot.
  199.     *  [Alt X] prompts if you want to delete this file; Y deletes.
  200.     *  [F1-F10] are adjustments for red, green,  blue,  contrast, and brightness
  201.        which decrease/increase in pairs; ie F1 decreases red, f2 increases  red.
  202.        [Alt F10] restores the original palette (except after a [B] command).
  203.     *  If the picture is larger than the screen the Up/Dn arrows  and  PgUp/PgDn
  204.        scroll the picture on the screen.  This only works  if  you  have  enough
  205.        video memory and your display card will write to video memory  not  being
  206.        displayed (Video 7 won't). VPIC doesn't scroll sideways;  see  'How  VPIC
  207.        Operates'.
  208.  
  209.                                                                          Page 4
  210.  
  211.  
  212.     VPIC COMMAND LINE OPTIONS - The DOS command line format for running VPIC is:
  213.        vpic [[path]filespec][/a /b /e /h /l /mN /r /v /w /xN /yN /z /?]   where:
  214.  
  215.     *  The default path is the current drive  and  directory,  and  the  default
  216.        extensions are BIF, BMP, CUT, GIF, IFF, LBM, MAC, PIC, PCX, SCx, and TGA.
  217.     *  The /a option starts VPIC in Auto resolution select mode.
  218.     *  The /b option causes VPIC to beep after displaying a file except in slide
  219.        mode or with /r.
  220.     *  The /e option starts VPIC in 16 color (EGA) mode.
  221.     *  The /h option allows the viewing of hidden files; great for R or X rated.
  222.     *  The /l option tells VPIC not to set the video mode. This is used to add a
  223.        picture to a picture already on the screen. Works best with /r /m /x /y.
  224.     *  The /mN locks the video resolution to mode N, where N is determined  from
  225.        the menu. The 256 color modes are 1 thru 10, and the 16 color  modes  are
  226.        11-20; ie, 320x200x256 is mode 1, 640x480x16 is mode 12.
  227.     *  The /r option immediately returns control  to  a  calling  program  after
  228.        displaying the picture. Calling program must reset text mode (mode co80).
  229.     *  The /v option disables VESA detection and uses the config file info.
  230.     *  The /w option wait for a keypress after each image in a  multi_image  GIF
  231.        file. Only works for multi-image GIFs.
  232.     *  The /xN option gives a left margin of N pixels. Only works  when  picture
  233.        is smaller than the screen.
  234.     *  The /yN option gives a top margin of N pixels for pictures  smaller  than
  235.        the screen.
  236.     *  The /z option inhibits printing the filename of each file when showing.
  237.     *  The /? option gives a help screen.
  238.     *  The /@xx option uses the commands in file xx to do a slideshow.
  239.     *  If filespec is a filename,  the single file will be  shown  (the  default
  240.        extension is GIF).
  241.     *  If path\filespec is a directory,  a menu of all  viewable  files in  that
  242.        directory will appear.  Otherwise all files  meeting  the  filespec  will
  243.        appear. For example, [vpic d:\pics\*.pcx] would give a menu  of  all  PCX
  244.        files in the PICS directory of drive D, while [vpic d:\pics]  would  give
  245.        a menu of all viewable files in the PICS directory of drive D.
  246.     Options and filespec may be entered in any order. The /r option  only  works
  247.     in single file mode, where all other work in menu or single file mode.
  248.  
  249.                                                                          Page 5
  250.  
  251.  
  252.     EXAMPLES OF VPIC COMMAND LINE OPTIONS
  253.  
  254.     1. VPIC [path\]filename[.ext] shows the single file specified.  The  default
  255.        path is the current directory, and the default extension is GIF.
  256.  
  257.     2. VPIC [path\][filespec] will give a menu of all  files  in  the  specified
  258.        path meeting filespec (may contain wildcards).  The default path  is  the
  259.        current directory, and the default filespec is any of the viewable files;
  260.        just entering VPIC will give a menu of all viewable files in the  current
  261.        directory.  If Path contains . or ..,  a  filespec  must  be  given  (may
  262.        contain wildcards). Thus ..\*.* would give a menu of all  viewable  files
  263.        in the parent of the current directory.
  264.  
  265.     3. VPIC /a starts VPIC in auto resolution mode.
  266.  
  267.     4. VPIC /b causes VPIC to beep after a file has been fully decoded. Lets you
  268.        know when the viewing options are available.  Doesn't beep in slide  mode
  269.        or when using the /r option.
  270.  
  271.     5. VPIC /e starts VPIC in 16 color modes; default is 256 color modes.
  272.  
  273.     6. VPIC /h allows VPIC to find and display hidden files in the  menu.  Great
  274.        for those R or X rated files you don't want to  be  normally  accessible.
  275.        This option doesn't appear on the help screen.
  276.  
  277.     7. VPIC /r filename[.ext] shows the filename picture and then returns to DOS
  278.        (or a calling application program) with the picture still on  the screen.
  279.        It is not necessary to change the video mode between viewing  each  file,
  280.        but it is up to the calling program to reset text mode (mode 3) after all
  281.        viewing is done. The /a, /e, /l, /m, /x, /y switches are valid with /r.
  282.  
  283.     8. VPIC /v gives a menu of the files in the current directory,  but  doesn't
  284.        look for VESA info from the display card. This is useful if the VESA info
  285.        is incorrect or doesn't support all the modes the card can do.
  286.  
  287.     9. VPIC /?  gives a help screen.
  288.  
  289.     10. VPIC /m3 /x0 /y0 /r file1 displays file1 in mode 3  in  the  upper  left
  290.        corner. Then, VPIC /r /l file2 /x320 /y200  displays  file2  starting  at
  291.        column 320 and row 200 leaving file 1 on the screen.
  292.  
  293.                                                                          Page 6
  294.  
  295.  
  296.     SLIDESHOWS
  297.  
  298.        VPIC /@[path\]slidefile[.ext] will do  a  slide  show  from  commands  in
  299.        slidefile. The default path is the current  directory,  and  the  default
  300.        slidefile extension is SLD. The path applies to both the slide  file  and
  301.        all files for viewing, so the slide file should be in the same  directory
  302.        as the viewable files. The commands are placed  on  separate  lines,  and
  303.        consist of either:
  304.        a. A filename (GIF extension assumed) and optional:
  305.           1. Display mode (number) and/or
  306.           2. Animate command (a followed by optional number with no spaces).
  307.        b. A delay (viewing time) spec of the form  d n (space required) where n
  308.           is the desired viewing time in seconds.
  309.        c. The statement QUIT to end the slideshow after 1 pass. QUIT may be
  310.           upper or lower case.
  311.  
  312.        The maximum number of files is 100. The number following the optional 'a'
  313.        is the number of vertical retraces between animation steps.  The  default
  314.        value is 8 (if no number follows the 'a'). The mode is explained below.
  315.  
  316.        To pause a slideshow press [SPACEBAR]; to end it press [ESC].
  317.  
  318.        The default viewing time is 5 seconds if no delay spec is given. A  delay
  319.        spec applies to all files following in the slide file until changed.  The
  320.        first slide is not delayed the  first  time  it  is  shown.  The  default
  321.        viewing mode is automatic (whatever fits).
  322.  
  323.        VPIC understands comments preceded by a semicolon, blank or comment lines,
  324.        and extra spaces.  For example,  the following slide  file  contents  are
  325.        understood by VPIC, but not recommended:
  326.  
  327.        d 20         ;Delay for file1.gif & file2.pcx is 20 seconds.
  328.        file1  1     ;First file in slideshow. File1.gif using mode 1.
  329.           file2.pcx ;This is a ZSoft filename with leading spaces.
  330.           ;This is a comment line with leading spaces, next is a blank line.
  331.  
  332.        d 10         ;File3 is delayed 10 seconds.
  333.        file3 a30    ;Show file 3, animate at 1 shift every 30 vertical retraces.
  334.           d      15 ;15 second delay file4.gif. Has leading & separator spaces.
  335.        file4        ;Show file4.gif for 15 seconds, then do file1.gif.
  336.  
  337.        The mode requires a little further explanation.  In the above slide file,
  338.        it says to use mode 1 with file1. Modes 1 thru 10 are the VGA (256 color)
  339.        modes, and modes 11 thru 20 are EGA (16 color) modes. Most display boards
  340.        only have a few of each type. The Orchid Designer has 4 VGA modes  and  4
  341.        EGA modes which appear in the file menu.
  342.  
  343.        The VGA modes are                  ║ The EGA modes are
  344.         1. 320x200x256     2. 640x350x256 ║ 11. 640x350x16     12. 640x480x16
  345.         3. 640x480x256     4. 800x600x256 ║ 13. 800x600x16     14. 1024x768x16
  346.  
  347.        Thus, the slide file says to show file1 in the 320x200x256 mode, and show
  348.        all the others in the default modes (whatever fits).
  349.  
  350.                                                                          Page 7
  351.  
  352.  
  353.     DETAILED COMMAND LIST - The following gives details & peculiarities of the
  354.     various commands.
  355.  
  356.     Keyboard and Mouse Menu Mode Commands.
  357.  
  358.     1.  The [up], [down], [right], and [left] arrow keys move the cursor  around
  359.         the menu of files. [PgDn/PgUp] goto next/previous page. Pressing  a  key
  360.         goes to next file starting with this character.  The  PgUp/PgDn  area in
  361.         the lower right corner allow the mouse to change pages.
  362.  
  363.     2.  Pressing the [SPACEBAR or the right  mouse  button]  marks  a  file  for
  364.         viewing or slides, and [SPACEBAR] moves to the next file; it  will  also
  365.         unmark a previously marked file.
  366.  
  367.     3.  Pressing [ENTER or the left mouse button] will display the marked  files
  368.         in the order they were marked. If no files were marked,  pressing  enter
  369.         or the left mouse button displays the file at the cursor.
  370.  
  371.     4.  Pressing [F1] will bring up the help screen; any key will return to  the
  372.         menu.
  373.  
  374.     5.  Pressing [F2] will do a slide show  of  marked  files  until  [ESC]   is
  375.         pressed.
  376.  
  377.     6.  Pressing [F3] will display the file size, colors,  and filetype  on  the
  378.         prompt/message line.
  379.  
  380.     7.  Pressing [F4] will toggle between 256 (VGA) and 16 color (EGA) modes.
  381.  
  382.     8.  Pressing [F5/F6] will decrease/increase the default resolution for  file
  383.         viewing.  In VGA, the default resolution  320x200  pictures  is  320x200
  384.         unless 'lock' [F7] is invoked.
  385.  
  386.     9.  Pressing [F7] goes to LOCK, which forces the default resolution  (above)
  387.         no matter what the file size.  Pressing F7 again  goes  to  AUTO,  which
  388.         automatically selects a resolution which will display the whole picture.
  389.         Pressing F7 again goes back to the normal default mode.
  390.  
  391.     10. Pressing [F8] toggles the wait mode,  where  VPIC  waits for a keypress
  392.         between multiple images in a GIF file.
  393.  
  394.     11. [F9] prompts for a new path\filespec, and displays a menu of  the  files
  395.         in the new path meeting the filespec.
  396.  
  397.     12. [F10] displays the current path on the prompt/message line.
  398.  
  399.     13. [Alt D] prompts for a new slide [F2] delay time in seconds.
  400.  
  401.     14. [Alt X] prompts if you want to delete the file at the cursor.  [Y]  will
  402.         delete it, [N] or ESC doesn't, and all other keys are ignored.
  403.  
  404.     15. Pressing [ESC] ends the program and returns to DOS.
  405.  
  406.     16. Pressing [Ctrl-Break] or [Ctrl-C] will get you  directly  to  DOS  from
  407.         anywhere.
  408.  
  409.     All other keys are ignored.  If errors are  encountered,  an  error  message
  410.     appears on the third line from the bottom, and disappears when the cursor is
  411.     moved. The amount of far memory available is also printed on the  same line.
  412.     The menu title is the search spec.
  413.  
  414.                                                                          Page 8
  415.  
  416.  
  417.     Keyboard Commands while Viewing a Picture (except in slide mode)
  418.  
  419.     *   The up/down arrow keys will scroll the picture by  one  line  if  it  is
  420.         longer than the screen, provided you  have  sufficient  display  memory.
  421.         The [PgUp] and [PgDn] keys will scroll by 10 lines. The Video 7 extended
  422.         VGA boards do not  support writing to non-displayed memory or  scrolling
  423.         pics larger than the screen, so this  function  is  disabled  for  these
  424.         boards. Straight VGA boards can't scroll in 320x200x256 mode because the
  425.         picture takes up all of display memory. VPIC will not  scroll  sideways;
  426.         see 'How VPIC Operates'.
  427.  
  428.     *   If the picture size is <= 1/2 the screen width, pressing [2]  will  give
  429.         a double size image (which may be scrollable) and pressing [1] will give
  430.         the normal size again. For VGA, the picture will be changed only in  the
  431.         horizontal direction; this will unsquash some 320x400 pics so the aspect
  432.         ratio is correct.
  433.  
  434.     *   Pressing [+] will increase the resolution (320x200 to 640x480, etc).
  435.  
  436.     *   Pressing [-] will decrease the resolution; useful if 800x600 rolls.
  437.  
  438.     *   Pressing [/] or [?] gives a help screen of commands available while viewing.
  439.  
  440.     NOTE: The file conversion options won't work when viewing a Targa  in  32000
  441.         colors with the Sierra DAC.  All the following conversion options  check
  442.         if the default filename is present, and prompt for a new name if it  is.
  443.         They create a file on the current drive  and  directory  with  the  same
  444.         dimensions as the file being viewed. If you screw up at the new filename
  445.         prompt,  hit [Ctrl-C] to escape immediately to DOS;  this  will  usually
  446.         preserve a file you don't want to write over. The safest bet is to  view
  447.         files in another directory, since the new file is saved  to the  default
  448.         directory,  which is the drive and directory you ran VPIC  from.  I  put
  449.         VPIC in my UTIL directory,  and have my PATH set to include UTIL,  so  I
  450.         can run VPIC from any drive or directory.
  451.  
  452.     *   Pressing [A] will 'animate' a picture by rotating the palette  periodic-
  453.         ally. This is especially effective on fractals, where large  areas  tend
  454.         to be the  same  color.  Pressing  [SPACEBAR]  will  pause  the  palette
  455.         rotation,  and pressing [ENTER] will terminate  it  and  return  to  the
  456.         command mode. Thus, by waiting for an especially nice pattern  and  then
  457.         pressing [ENTER], the pattern can be written to a file  using  the  file
  458.         save commands. Pressing [ESC] will return  to  the  menu.  The  rate  of
  459.         palette rotation can be  increased/decreased  with  the  up/down  arrows
  460.         (slow) or PgUp/PgDn (fast).
  461.  
  462.     *   Pressing [B] will convert a color VGA picture to a 64 shade gray picture.
  463.         The resulting image can be saved with the gray palette.  Only  works  in
  464.         VGA. The original palette cannot be restored with [Alt F10] after [B].
  465.  
  466.     *   Pressing [C] will create a Dr. Halo CUT file with the same  filename and
  467.         extension CUT. A palette file (.PAL) will also be created.
  468.  
  469.     *   Pressing [D] will create a Deluxe Paint II (Electronic Arts) file.  VPIC
  470.         will prompt for a normal or enhanced DP II file.
  471.  
  472.                                                                          Page 9
  473.  
  474.  
  475.     *   Pressing [E] will expand a  Run Length Encoded  (RLE)  compressed  Targa
  476.         file. If the file is not a Targa or is already  uncompressed,  this  key
  477.         does nothing.
  478.  
  479.     *   Pressing [F] will prompt for a new filename to overlay on  the  existing
  480.         picture. It also prompts for x and y offsets (in pixels). The colors may
  481.         not be exactly correct since the new picture uses a best  match  to  the
  482.         palette of the original picture, and some colors may  be  missing.  This
  483.         feature is handy for building composite pictures; ie, four 320x200  pics
  484.         on a 640x400 screen with the screen size 'locked' using F7 or /m on  the
  485.         command line. Specify where you want to place the first picture  on  the
  486.         command line when VPIC is executed using the /x and/or the  /y  options;
  487.         the filename display is suppressed using the /z option  on  the  command
  488.         line. Alternately, you can have have an all black picture as  the  first
  489.         picture, then overlay the others onto it. The composite picture can then
  490.         be saved in any of the file formats VPIC supports. You can also  specify
  491.         the /mN resolution mode from the command line to lock the video mode  to
  492.         the desired composite size; it can be changed once you are in the  menu.
  493.         Later pictures use the first pictures palette (if all are 256 color), so
  494.         it's a good idea to pick the first picture  with  the  widest  range  of
  495.         palette colors; this gives the best rendition of the other  pictures.  A
  496.         good way to invoke VPIC for this mode is `vpic /x0 /y0 /z /m3'.
  497.  
  498.     *   Pressing [G, I, M, U, <, or >] will create a GIF  file  on  the  default
  499.         drive, and prompt for a new filename; the default extension is  GIF. [G]
  500.         is for non-interlaced, and [I] is for  interlaced,  [M]  is  for  mirror
  501.         image, [U] is for upside down (inverted), [<] is rotate image 90 degrees
  502.         CCW, and [>] is rotate image 90 degrees CW.
  503.  
  504.     *   Pressing [P] will create a PC Paint or Pictor file.  The default  exten-
  505.         sion is PIC, and for EGA it prompts for a PC Paint or Pictor file.
  506.  
  507.     *   Pressing [R] will create a ColoRix  file  with  the  same  filename  and
  508.         extension SCx where x is a function of the screen size. If in EGA,  will
  509.         prompt if you want an EGA Paint or ColoRix file.
  510.  
  511.     *   Pressing [T] will create a Targa 16 or 24 file with  the  same  filename
  512.         and extension TGA. VPIC defaults to Targa 16, and prompts for Targa 24.
  513.  
  514.     *   Pressing [W] will create a Microsoft Windows Bitmap  file.  The  default
  515.         extension is BMP and it prompts for a compressed or uncompressed file.
  516.  
  517.     *   Pressing [Z] will create a ZSoft  (PC Paintbrush)  file  with  the  same
  518.         filename and extension PCX. The file will be in whatever  mode  you  are
  519.         currently using (EGA or VGA). The VGA palette will be  correct  for  the
  520.         latest version of PC Paintbrush, which saves a VGA palette in the file.
  521.  
  522.     *   [Alt_F] displays the current filename momentarily.
  523.  
  524.     *   Pressing [Alt-X] will prompt you to delete  the  current  file.  If  you
  525.         answer [y] it will be deleted, [n] or ESC it won't, and all  other  keys
  526.         are ignored.
  527.  
  528.                                                                          Page 10
  529.  
  530.  
  531.     *   Pressing [ENTER] will return to the menu or DOS, or show next  file  for
  532.         marked menu mode.
  533.  
  534.     *   Pressing [ESC] will end the display and return to the menu.
  535.  
  536.     *   The following keys control the picture tone as follows:
  537.         [F1]       Decrease red content of picture.
  538.         [F2]       Increase red content of picture.
  539.         [F3]       Decrease green content of picture.
  540.         [F4]       Increase green content of picture.
  541.         [F5]       Decrease blue content of picture.
  542.         [F6]       Increase blue content of picture.
  543.         [F7]       Decrease contrast of picture (VGA only).
  544.         [F8]       Increase contrast of picture (VGA only).
  545.         [F9]       Decrease brightness of picture (VGA only).
  546.         [F10]      Increase brightness of picture (VGA only).
  547.         [Alt-F10]  Restore original palette after you  thoroughly  mess  up  the
  548.                    colors. Doesn't work after a [B] grey shade conversion.
  549.         [V]        Reverses the current palette;  interesting effect  especially
  550.                    for black & white images.
  551.  
  552.         After a little experimenting, a 'washed out' VGA picture can be  greatly
  553.         improved by using [F1-F10],  and you can  always  start  over  by  using
  554.         [Alt-F10]. To retain a black background in a VGA picture, the brightness
  555.         should be decreased when the contrast is decreased.  If you have  really
  556.         improved the picture, you can then save it any of the supported formats.
  557.         VPIC will prompt you if the file exists in the  default  directory,  and
  558.         you have the option of overwriting it or giving  a  new  filename.  This
  559.         works really well with images created on  the  Sharp,  Howtec  or  Targa
  560.         scanners, which are sometimes 'washed out'.
  561.  
  562.     All other keys are  ignored.  Pressing  [Ctrl-Break]  or  [Ctrl-C]  will  go
  563.     directly to DOS.
  564.  
  565.                                                                          Page 11
  566.  
  567.     DECODING OTHER FILE FORMATS
  568.  
  569.     Each picture is viewed in whatever mode you are presently using (VGA or EGA)
  570.     and at the resolution you have selected. If you choose to  save  to  another
  571.     file format which differentiates between VGA  and  EGA  modes,  it  will  be
  572.     converted using the appropriate rules.  This makes  EGA <-> VGA  conversions
  573.     possible, which is not supported by most paint programs.
  574.  
  575.     The decoding for other than GIF is not as fast as could  be  done,  but  the
  576.     added versatility more than compensates for this. For example, EGA PCX files
  577.     can be very quickly decoded to EGA, but are in the wrong format for VGA, and
  578.     considerable manipulation is required  to  produce  a  VGA  image.  For  all
  579.     formats, the method of viewing is to decode to a buffer for a single line at
  580.     1 byte/pixel, then copy this line to the display in whatever  mode  you  are
  581.     using. This is a compromise for most file formats, since they are geared  to
  582.     EGA or VGA, and display time suffers, but it makes the  code  much  simpler.
  583.     Besides, the other formats are supported mainly to allow easy conversion  to
  584.     GIF, which is the preferred format for storage since it gives  the  smallest
  585.     file size.
  586.  
  587.     The TARGA viewing (except with the Sierra DAC) uses a fixed palette to speed
  588.     up the decoding, so the picture does not have good color  rendition.  It  is
  589.     mainly there to verify that an image is present. Use Pegasus Imaging  Corp's
  590.     SHOWFRAC to make a Targa 8 with excellent color rendition, and then  convert
  591.     this to GIF using VPIC.
  592.  
  593.     ADDED FEATURES
  594.  
  595.     VPIC is meant to fill a void not covered by paint  programs,  and  to  allow
  596.     very convenient file viewing and conversion between file formats. It is  not
  597.     meant to compete with the paint programs, and in general if a paint  program
  598.     does something well (such as resize a picture to fill the screen or cut  out
  599.     a portion of the picture), VPIC will not attempt to  do  it.  On  the  other
  600.     hand, if you think of a feature which would  enhance  VPIC,  please  let  me
  601.     know, and I will consider adding it to the program.
  602.  
  603.     KNOWN PROBLEMS
  604.  
  605.     1. The ATI VGA Wonder 1024x768x16 mode and all the S3 16 color modes  use  2
  606.        pixels/byte, unlike any other VGA or EGA mode.  It is supported for  most
  607.        viewing and conversions, but will not view or convert to EGA Paint files,
  608.        ColoRIX EGA files, or Pictor EGA files, since these are on an  EGA  plane
  609.        basis.
  610.     2. If you have a board with the Trident TVGA 8900 VGA chip, don't run MAMODE
  611.        before running VPIC, or run MAMODE 64 if you were in a 128K bank mode.
  612.  
  613.                                                                          Page 12
  614.  
  615.  
  616.     SUPPORT FOR OTHER SUPERVGA BOARDS
  617.  
  618.     I will try to support other VGA boards with extended VGA modes if the owners
  619.     will write me with the details of how to set the various modes, and  how  to
  620.     bank switch the display memory. Of course, if you also register VPIC I  will
  621.     give the problem more consideration.  Use of a board  is  almost  mandatory,
  622.     since I can't tell if the new routines work unless I can try them.
  623.  
  624.     The bank switching Info for some of the 'not so common' VGA boards  is  hard
  625.     to come by, and is needed if VPIC is to support extended VGA modes for these
  626.     boards. A VGA board needs to bank switch for extended modes because there is
  627.     only a 64K window in the PC address space for graphics memory (from A000  to
  628.     AFFF),  and extended modes require more  than  64K  of  memory;  640x480x256
  629.     requires 307200 bytes of memory, or about 4.7 'banks of 64K'. Bank switching
  630.     is a means of mapping the (A000 to AFFF) graphics  address  space  into  64K
  631.     chunks of actual display memory. The method of bank switching is  determined
  632.     by the VGA chip used on the display board, and what I need is info on how to
  633.     switch banks and how to set the various modes the board supports.
  634.  
  635.                                                                          Page 13
  636.  
  637.     HOW VPIC OPERATES
  638.  
  639.     VPIC decodes a picture file directly to screen memory on your display  card.
  640.     The other technique is to decode to CPU (normal) memory and then  copy  the
  641.     picture (or a portion of it) to screen memory. Both ways have their  advan-
  642.     tages and disadvantages.
  643.  
  644.     DECODING DIRECTLY TO SCREEN MEMORY (LIKE VPIC).
  645.  
  646.     ADVANTAGES - This method offers the best speed, since it  doesn't  have  to
  647.     go thru the intermediate step of decoding to  CPU  memory  first.  It  will
  648.     also always decode large pictures, even above  the  maximum  display  size.
  649.     The CPU method usually doesn't  have  sufficient  memory  for  large  pics,
  650.     like 1024x768x256, or even 800x600x256 if you have  any  TSR's  in  memory;
  651.     these pics require 1 byte/pixel.
  652.  
  653.     The file conversion options uses the current palette data and  the  current
  654.     data in display memory to make the new file. Thus, what  you  see  is  what
  655.     you get in a new file format, in whatever mode you are  viewing  (256 or 16
  656.     color).
  657.  
  658.     DISADVANTAGES - Because the picture is decoded directly to  screen  memory,
  659.     any picture data beyond the right edge of the screen is  thrown  away.  For
  660.     this reason, you can't scroll left and right. VPIC will continue to  decode
  661.     to display memory beyond the bottom of the screen  until  it  runs  out  of
  662.     memory, set by BANKS in the configuration file.  If the card  wraps  memory
  663.     beyond the bottom of the screen back onto the  screen,  like  the  Video  7
  664.     cards, then VPIC doesn't decode beyond the screen bottom.
  665.  
  666.     Thus, if your display card doesn't wrap display memory, you will be able to
  667.     scroll the picture up and down.
  668.  
  669.     If the screen doesn't display the whole picture width, any  converted  file
  670.     will be truncated on the right edge to the screen size.
  671.  
  672.     DECODING TO CPU MEMORY FIRST
  673.  
  674.     ADVANTAGES - If there is sufficient CPU memory to hold the whole picture (at
  675.     1 byte/pixel), a rectangular area equal to the screen size can be copied  to
  676.     display memory, which allows  you  to  scroll  around  the  picture  in  all
  677.     directions.
  678.  
  679.     DISADVANTAGES - If there is not sufficient CPU memory, most of the  programs
  680.     will refuse to display the  picture.  There  is  also  the  wait  while  the
  681.     picture is decoded to CPU memory before you get to see it.
  682.  
  683.                                                                         Page 14
  684.  
  685.  
  686.     VPIC TERMS AND CONDITIONS
  687.  
  688.     VPIC is copyrighted software, and all rights are reserved. VPIC may not  be
  689.     changed or modified in any way except by the author. VPIC is SHAREWARE, and
  690.     may be freely distributed, as long as it remains in its complete form  with
  691.     all support, documentation, and configuration files. It may be used  for  a
  692.     ten day free trial period.  Regardless of how the copy is obtained,  it  is
  693.     requested that all users comply with the  following  licensing/registration
  694.     provisions if they continue to use it after the 10 day trial period:
  695.  
  696.     1.  $1/copy royalty if used as part of a DEMO; a demo is not part  of  your
  697.         product, but is a means of advertizing your product.
  698.  
  699.         $2/copy royalty if used as a utility for running your product.
  700.  
  701.         The maker of  the  demo/product  should  be  a  registered  user.  If  a
  702.         recipient of the disk uses VPIC for other purposes (not part of the demo
  703.         or product) he should register. You should sign a royalty agreement with
  704.         me, and make payments annually. You may estimate the yearly  usage,  and
  705.         then correct it from year to year.  You should supply to  me  a  written
  706.         statement listing the copies shipped each year.
  707.  
  708.     2.  $15 per copy for individual users.  Users can feel free to use VPIC  for
  709.         anything. I need your name and address  for  my  records,  and  you  are
  710.         entitled to:
  711.         a.  Use all updates at no cost (except shipping and handling; see below)
  712.             provided the registration fee hasn't changed..
  713.         b.  Technical support either by phone (you call me) or by letter.
  714.  
  715.     3.  Quantity discounts:
  716.             10 to 99: $10 per copy.
  717.             100 up: $7.50 per copy.
  718.             All registered users can feel free to use  VPIC  for  anything.  You
  719.             should supply me the names and addresses of the users so I can honor
  720.             update requests and provide technical support on an individual basis
  721.             as in 2.
  722.  
  723.     4.  Site License: $75 per 10 copies if used or distributed  by  you,  or  as
  724.         part of your product. All users would be registered  collectively  under
  725.         your name, but can fell free to use VPIC for anything.  Update  requests
  726.         and technical support would be thru you (since I don't know the names of
  727.         the individual users) and would be distributed by you to the users.
  728.  
  729.     5.  Clubs, schools,  universities and  other  non-profit  organizations  may
  730.         license VPIC for $45.00 per 6 copies.  All  users  would  be  registered
  731.         collectively under your  name,  but  can  feel  free  to  use  VPIC  for
  732.         anything. Update requests and technical support would be thru you, since
  733.         I don't know the names of the individual users, and would be distributed
  734.         by you to the users.
  735.  
  736.     For foreign orders, please send a check drawn on a US Bank, International or
  737.     US Postal Money Order, Travelers Checks, or cash, since the banks charge  up
  738.     to $60 collection fee for foreign checks.
  739.  
  740.                                                                         Page 15
  741.  
  742.  
  743.     For all the above, VPIC should be distributed intact, with all documentation
  744.     (DOC files), support programs (CVPIC, CONFIG, and WHICHVGA),  and  configur-
  745.     ation (.CFG) files. Archived form is OK to meet this requirement,  since  it
  746.     minimizes disk space, if you supply the un-archiving program.
  747.  
  748.     A user may install VPIC on more than one machine, provided he  is  the  only
  749.     user on each machine. The registration and license policy is  similar  to  a
  750.     book, which can be taken with you but used only by you.
  751.  
  752.     Please use the enclosed registration/order form since it allows me  to  keep
  753.     better records and keep up with the newer VGA boards.
  754.  
  755.  
  756.     UPGRADES FROM PREVIOUS PROGRAMS AND UPDATES
  757.  
  758.     You may use all updates (with the same registration fee) free once you  have
  759.     registered VPIC. If you are already registered for VGIF or ZS  (any version)
  760.     you may upgrade to  VPIC  for  an  additional  $5.  Since  VPIC  is  updated
  761.     regularly, I do not send  notices,  but  it  gets  around  quickly  to  most
  762.     graphics oriented BBS's, and is available at Compuserve in Data Library 3 of
  763.     the PICS forum.
  764.  
  765.     ORDERS FROM ME
  766.  
  767.     If you order VPIC, an upgrade, or an update from  me,  please  add  $5  ($10
  768.     outside the USA and Canada) for materials, postage, and handling. As a bonus
  769.     I will fill the rest of the disk with good pictures. Please specify 360K  or
  770.     1.2Meg 5.25" disk or 1.44M 3.5" disk, and EGA, VGA, or SuperVGA (640x480x256
  771.     etc) so I'll know what pictures to send. I have three 1024x768x256 pictures,
  772.     but each is about 700K in size and eats up a sizeable portion of a disk,  so
  773.     if you want one of these there wont be much room for other pictures. If  you
  774.     want additional disks of pictures, please add $5/disk. I have  quite  a  few
  775.     640x480x256 pictures  (mostly  by  Boris  Vallejo),  only  1  disk  full  of
  776.     320x200x256 pictures and 1 disk of EGA pictures, and a few larger sizes.
  777.  
  778.     Even if you can't read a 1.2 Meg disk, I would  recommend  getting  VPIC  on
  779.     that size, since you get about 1 Meg of picture files that way. Then, have a
  780.     friend (or computer store) copy the files to your disks.
  781.  
  782.     Data on the various file formats VPIC supports  is  available  free  if  you
  783.     request it with your order, but will use about 200K of disk space.
  784.  
  785.     Please use the enclosed registration/order form since it allows me  to  keep
  786.     better records and keep up with the newer VGA boards.
  787.  
  788.     DISCLAIMER
  789.  
  790.     All warranties are disclaimed, including damage to hardware and/or  software
  791.     from use of this product. In no event will I be liable to you for any damages,
  792.     including lost profits, lost savings or other  incidental  or  consequential
  793.     damages arising out of your use or inability to  use  the  program,  or  any
  794.     other claim by any other party.
  795.  
  796.                                                                         Page 16
  797.  
  798.  
  799.     SPECIAL VERSIONS
  800.  
  801.     Contact Bob Montgomery for:
  802.         1. Special versions of VPIC tailored to your application.
  803.         2. Other graphics oriented applications (file conversion, etc).
  804.  
  805.     Any suggestions or comments should be mailed directly to me.  The following  are
  806.     graphics oriented BBS's:
  807.  
  808.  
  809.     GRAPHICS ORIENTED BBS'S
  810.  
  811.     Compuserve PICS Forum (My ID is 73357,3140)
  812.     Magic City USA, Orlando, Florida 1.0 Gig Online
  813.         Modems: 2400 baud (407) 628-2546,  HST (407) 628-0185
  814.     Tsunami BBS, Half Moon Bay, Calif. (415) 726-2726
  815.     PC Rockland, S. Nyack, NY (914) 353-2538 [Freeboard] 1.6 Gbyte Online
  816.     Megabyte Image Center     (918) 492-0087 1200/2400/9600 baud USR HST
  817.     Pictures and Scanning Services:
  818.     Event Horizons: Catalog, 311 Avenue "B", Suite 209, Lake Oswego, OR 97034
  819.       Order:503-697-7700, Modems:(1200/2400) 503-697-5100, (9600HST) 503-697-5126
  820.     JPix Graphics Imaging: Modems:(2400) 219-267-2188, (9600) 219-267-8528
  821.  
  822.                                                                         Page A1
  823.  
  824.  
  825.                       APPENDIX A - REVISION HISTORY
  826.  
  827. History of the original VGIF program.
  828.  
  829.     VGIF ver 1.1   1-13-88
  830.         *  Added test for EGA adapter.
  831.         *  Fixed menu colors.
  832.         *  Allow [ESC]ape from marked file viewing.
  833.         *  Added [Ctrl-Break] or [Ctrl-C] exit to DOS anywhere.
  834.         *  Added 'disk full' notification when creating picture file.
  835.         *  Added critical error handler for 'drive not ready' errors.
  836.  
  837.     VGIF ver 1.2   1-15-88
  838.         *  Changed name to VGIF.
  839.         *  Slide mode now ignores the end of file mark in slide  file,  and  any
  840.            key will now end slide mode.
  841.         *  Added slides to menu mode if [S] pressed-shows marked files as slides
  842.            until a key is pressed.
  843.  
  844.     VGIF ver 1.3   1-21-88
  845.         *  Added better error checking to GIF file decoding. Notifies if bad GIF
  846.            file.
  847.         *  Fixed error reporting bug in single file mode.
  848.  
  849.     VGIF ver 1.4   2-9-88
  850.         *  Added instantaneous screen update in slide mode from menu or  command
  851.            (SLD) file.
  852.         *  Added the /r option which allows an application program to call  VGIF
  853.            to view a file and then regain control.
  854.  
  855.     VGIF ver 1.5   3-2-88
  856.         *  Added [PgUp] and [PgDn] keys to scroll by 10 lines at a time.
  857.         *  Added a max pic height of 819 lines so EGA buffer would not  overflow.
  858.         *  Greatly improved color reproduction for 'problem' pictures  (such  as
  859.            FROG, ARCHIT, PUFFIN, VEGTABLE, etc). These pictures  typically  have
  860.            more than 16 colors. Selected colors on basis  of  frequency  of  use
  861.            where possible.
  862.         *  Fixed following bugs:
  863.            1.  Line buffer would overflow into other variables if pic width  was
  864.                > 640 pixels, causing strange results.
  865.            2.  Didn't recognize the end of image marker  correctly.  This  would
  866.                cause the palette to change when the image was done.
  867.  
  868.     VGIF ver 1.6   3-11-88
  869.         *  Fixed a bug in handling multiple images. First noticed  when  viewing
  870.            WHIMMI.GIF.
  871.         *  Use same palette for multiple images, and get best color match.
  872.         *  Added [L] and [S] commands while viewing a picture. These  allow  you
  873.            to create full size paint program files.
  874.     
  875.                                                                         Page A2
  876.  
  877.  
  878.     VGIF ver 2.0   3-26-88
  879.         *  Added the ability to view long GIF files ( > 819 lines) without
  880.            wrapping the display.
  881.         *  Added the [C] and [H] (Dr. Halo) file creation option while viewing.
  882.         *  Added the [L] and [S] prefixes to paint program file creation commands
  883.            while viewing to save long pic files.
  884.         *  Added the Info and Help commands in menu mode.
  885.         *  Deleted the # requirement to specify a directory from the command
  886.            line. The program now looks for a directory which meets the  spec  on
  887.            the command line. If none is found, it assumes  the  spec  is  for  a
  888.            single file.
  889.         *  Added [F1 - F10], and [V] palette control keys while viewing a file.
  890.  
  891.     VGIF ver 3.0   5-2-88
  892.         *  Added VGA capability, and support for Tseng extended VGA modes
  893.            (640x480x256 and 800x600x256).
  894.         *  Determines and displays available modes for your system.
  895.  
  896.     VGIF ver 3.1   5-11-88
  897.         *  Fixed a bug in dir/file spec from command line. Now accepts
  898.            VGIF d:\dir\*.gif or VGIF  d:*.gif,  although  the  [\]*.gif  is  not
  899.            required, since this is the default filespec.
  900.  
  901.         *  Fixed a bug in forced EGA when doing slides, where an interlaced  pic
  902.            displayed at double size would have a 'venetian blind' effect.
  903.  
  904.         *  Changed so pics larger than 320x200 are shown in 640x480 VGA; can get
  905.            800x600 by pressing + key.
  906.  
  907.         *  The EGA mode on the Orchid VGA card appears squashed vertically. This
  908.            is normal, and cannot be corrected  without  reprograming  the  para-
  909.            meters for mode 16, which would change the vertical retrace frequency
  910.            and probably cause your monitor to roll.
  911.  
  912.     VGIF ver 3.2   5-26-88
  913.         *  Added 500 file menu, and assy language  text  screen  updating;  now
  914.            super fast.
  915.         *  Fixed a bug which caused the Vega VGA card to hang up.
  916.  
  917.     VGIF ver 3.3   6-9-88
  918.         *  Added user spec of video mode for non-Orchid VGA boards.
  919.         *  Added GIF and Pictor save of current screen for VGA/EGA pics.
  920.         *  Added prompts to screen for conversion to other formats.
  921.         *  Removed conversion starting at first visible row-now does whole pic.
  922.  
  923.     VGIF ver 3.4   6-23-88
  924.         *  Fixed a bug in the GIF save routine.
  925.         *  Added color, contrast, and brightness adjustment in VGA.
  926.         *  Fixed a bug in menu mode for marked files.
  927.         *  Added /n command line option to stay in 640x480x256 for VGA pics.
  928.  
  929.     VGIF ver 3.5   7-14-88
  930.         *  Fixed some misc minor bugs.
  931.         *  Added increase/decrease resolution command while viewing 16 color VGA
  932.            pics (using the /e option).
  933.         *  Added slide mode for VGA.
  934.         *  Added lock mode option to start pics from the menu in a desired mode.
  935.  
  936.                                                                         Page A3
  937.  
  938.  
  939.  
  940.     VGIF ver 3.6   8-8-88
  941.         *  Fixed some bugs.
  942.         *  Fixed EGA slide show.
  943.  
  944.     VGIF ver 3.6A  9-10-88
  945.         *  Fixed 1024x768x16 mode.
  946.  
  947.     VGIF ver 4.0   10-20-89
  948.         *  This was a beta test version which got out.  It  had  lots  of  bugs,
  949.            which were fixed in VPIC.
  950.  
  951.     HISTORY OF VPIC
  952.  
  953.     VPIC ver 1.0 & 1.1 12-27-88
  954.         *     Beta test versions.
  955.  
  956.     VPIC ver 1.2   12-27-88
  957.         *  Added configuration option for various display boards.
  958.         *  Added VGA file conversion for all previous Paint programs supported.
  959.         *  Added Deluxe Paint 2 conversion.
  960.         *  Added Targa 16 file conversion.
  961.         *  Added EGA/VGA toggle from menu.
  962.         *  Added default resolution select, and Mode Lock key from menu.
  963.         *  Added WAIT option to pause between images of multi-image files.
  964.         *  Added MAC, PCX, & Colorix file viewing  capability.  Others  will  be
  965.            added in later versions.
  966.         *  Added 'animate' while viewing.
  967.         *  Fixed VGA 16 color palette.
  968.  
  969.     VPIC ver 1.2A   1-4-89
  970.         *  Fixed MAC -> GIF conversion
  971.         *  Fixed CVPIC for ^Z as EOF char.
  972.         *  Fixed 16 color palette for other file formats if VGA 16 colors.
  973.  
  974.     VPIC ver 1.3    2-2-89
  975.         *  Fixed cursor in menu.
  976.         *  Fixed 'lock up' if GIF header size wrong (640x350 labeled 350x640).
  977.         *  Now pauses pic if file error and waits for key press-can see  partial
  978.            pics in bad files this way.
  979.         *  Shows GIFs with MAC headers (1st 128 bytes are not GIF standard);  if
  980.            F3 (info) pressed shows if file has a MAC header.
  981.         *  Fixed so views and saves  new  ZSoft  VGA  PCX  files  which  include
  982.            palette at end of file. Still doesn't load PAL files.
  983.         *  Fixed ZSoft file displays and saves.
  984.         *  Added Wait toggle (F8) which pauses  between  images  in  multi-image
  985.            GIFs, and allows conversion to other filetypes.
  986.         *  Made MACs black on bright white instead of gray.
  987.  
  988.     VPIC ver 1.4   3-15-89
  989.         *  Added printout of filename while decoding except in slide mode.
  990.         *  Added help while viewing a picture; press [?] or [/].
  991.         *  Added delete a file option [X] (with query) while viewing.
  992.         *  Added hit [ESC] while decoding to abort picture.
  993.  
  994.                                                                         Page A4
  995.  
  996.  
  997.     VPIC ver 1.5   3-23-89
  998.         *  Fixed bug in 'Escape while decoding' which would hang system.
  999.         *  Fixed EGA x2 display for interlaced files.
  1000.         *  Fixed problem with saving a pic after scrolling.
  1001.         *  Fixed palette in animate, so save will use current palette.
  1002.         *  Fixed problem with bad files in slide mode that would hang computer.
  1003.         *  Fixed error display in /@ slide mode and single file mode.
  1004.  
  1005.     VPIC ver 1.6   4-5-89
  1006.         *  Fixed bugs in slide show from command file. Added comments.
  1007.         *  Added resolution option for each picture in slide command file.
  1008.         *  Fixed miscellaneous minor bugs.
  1009.         *  Added configurable menu color.
  1010.  
  1011.     VPIC ver 1.7   6-13-89
  1012.         *  Added Trident chip set support (for Maxxon and Logix VGA  boards  and
  1013.            maybe the ATI board).
  1014.         *  Fixed a few bugs concerned with putting  &  getting  lines  from  the
  1015.            display  screen.
  1016.         *  Fixed problem with Ctrl Z at end of slide definition file.
  1017.  
  1018.     VPIC ver 1.8  6-28-89
  1019.         *  Added EGA Paint viewing/conversion.
  1020.         *  Fixed conversion to 800x600 ColoRIX file.
  1021.         *  Fixed other minor bugs.
  1022.  
  1023.     VPIC ver 1.9  7-19-89
  1024.         *  Added inverted, mirrored, and rotated GIF saves.
  1025.         *  Fixed a bug in the Dr Halo CUT file creation.
  1026.         *  Added menu updating after file creation or deletion.
  1027.         *  Added new path spec feature from menu with [F9] key.
  1028.  
  1029.     VPIC ver 2.0  8-6-89
  1030.         *  Added Pictor/PC Paint PIC, Dr. Halo CUT, Deluxe Paint LBM, and
  1031.            Targa 16 or 24 file viewing capability.
  1032.         *  Fixed a bug in the palette selection for EGA.
  1033.         *  Fixed bug which would not show VGA for the plain vanilla VGA config.
  1034.         *  Fixed a bug in the ZSoft PCX display for extended EGA modes.
  1035.         *  Added Auto resolution option and switch from the menu [F7].
  1036.         *  Made cursor stay fixed when files are created or deleted.
  1037.         *  Added Chips & Technology support. (VPIC 2.0A)
  1038.         *  Fixed ZSoft save at higher screen resolution than pic. (VPIC 2.0B)
  1039.  
  1040.     VPIC ver 2.1   9-5-89
  1041.         *  Fixed a bug in LBM viewing
  1042.         *  Added ColoRIX 16 color SCR and SCP view/create.
  1043.         *  Speeded up GIF decoding about 50%.
  1044.  
  1045.     VPIC ver 2.1A  9-10-89
  1046.         *  Fixed a memory allocation problem for slides.
  1047.         *  Made small increase in speed.
  1048.         *  Fixed directory callout (*.PIC, etc).
  1049.         *  Re-enabled [ESC] for GIF viewing.
  1050.         *  Fixed Chip & Tech bank switching routine.
  1051.         *  Fixed Deluxe Paint II (LBM) file creation.
  1052.  
  1053.                                                                         Page A5
  1054.  
  1055.  
  1056.     VPIC ver 2.2  10-23-89
  1057.         *  Fixed problem in new path command ([F9] from menu).
  1058.         *  Fixed intermittent GIF decode problem.
  1059.         *  Program now tells if GIF image and screen sizes conflict.
  1060.         *  Menu now correctly displays file sizes larger than 1 Mbyte.
  1061.         *  Now lists & displays Electronic Arts IFF files (same as LBM).
  1062.  
  1063.     VPIC ver 2.3  12-13-89
  1064.         *  Fixed C_T bank switching.
  1065.         *  Added Everex 678, Ahead (B chip), and Genoa 6400 support.
  1066.         *  Fixed bugs in GIF and Pictor decoder.
  1067.  
  1068.     VPIC ver 2.4  12-28-89
  1069.         * Fixed bug in GIF decoder for very wide pics.
  1070.         * Fixed palette for many file types.
  1071.         * Fixed slide mode from menu.
  1072.  
  1073.     VPIC ver 2.5  1-28-90
  1074.         * Fixed single file and /r modes.
  1075.         * Fixed Pictor viewing for B&W pics.
  1076.         * Fixed MAC header interpertation problem.
  1077.         * Fixed memory clearing for pictures longer than the screen.
  1078.         * Added F10 to menu to display current path. Menu no longer shows
  1079.           complete path (only filespec) to avoid clutter with long paths.
  1080.         * Deleted path from filename display when showing picture.
  1081.         * Added SCY conversion for ColoRIX.
  1082.         * Added Zymos VGA chip support.
  1083.         * Corrected CVPIC to allow more than 9 banks in config file.
  1084.  
  1085.     VPIC ver 2.6  1-28-90
  1086.         * Fixed palette for 2 color GIFs.
  1087.         * Fixed SCU display in 1024x768x16 mode.
  1088.         * Fixed Pictor EGA and ColoRIX EGA slide viewing.
  1089.  
  1090.     VPIC ver 2.7  3-17-90
  1091.         * Fixed GIF bug and palette for files with local color maps.
  1092.         * Added /b command line option to beep after a picture is decoded except
  1093.           in slide modes.
  1094.         * Added Alt_F command while viewing a picture to momentarily display the
  1095.           file name.
  1096.         * Fixed Targa viewing for all sizes; now handles RLE images too.
  1097.  
  1098.     VPIC ver 2.8  3-27-90
  1099.         * Added /h command line option to find hidden files.
  1100.         * Changed menu display to allow up to 8 modes for VGA or EGA.
  1101.         * Fixed palette in Dr. Halo CUT files.
  1102.         * Added Tseng 4000 chip support.
  1103.  
  1104.     VPIC ver 2.9  5-23-90
  1105.         * Fixed Targa module to handle all 8 thru 32 bits/pixel formats.
  1106.         * Added copyright messages.
  1107.         * Fixed PCX viewing for gray scale files.
  1108.  
  1109.                                                                         Page A6
  1110.  
  1111.  
  1112.  
  1113.     VPIC ver 2.9A 7-1-90
  1114.        *  Fixed Targa module for files which don't follow the compression  rules
  1115.           of 'don't overrun lines'. Added TGA expand option [E] while viewing  a
  1116.           RLE compressed Targa file.
  1117.        *  Fixed conversion routines so they save the pictures size. This  was  a
  1118.           bug that crept into ver 2.9.
  1119.        *  Added ESC to abort deleting a file with [Alt_X].
  1120.        *  Added file types (where applicable) to the info command [F3] from  the
  1121.           menu.
  1122.        *  Added uncompressed ColoRIX SCO file (1024x768x256) support.
  1123.        *  Fixed a bug in CVPIC.
  1124.        *  Fixed a bug which prevented working with DOS 4.x.
  1125.        *  Added Deluxe Paint II enhanced viewing and save capability.
  1126.        *  Fixed a color bug in Targa 32 viewing.
  1127.  
  1128.     VPIC ver 3.0  9-15-90
  1129.        *  Added capability to view the new GIF89a files, and FRA fractal files.
  1130.           Added delay and user response features of GIF89a.
  1131.        *  Fixed a bug which would hang the computer if you deleted the last
  1132.           viewable file from a directory.
  1133.        *  Added prompt for a file conversion, allowing you to escape.
  1134.        *  Added C&T, as well as the previous C_T, which VPIC will accept as  the
  1135.           Chips & Technologies VGA chip in the config file.
  1136.        *  Fixed memory allocation bug in PCX creation for 1024x768x256 images.
  1137.  
  1138.     VPIC ver 3.1  9-25-90
  1139.        *  Added flexibility to slide mode. Always  decodes  to  memory  and  can
  1140.           change delay for files; see the section on 'vpic /@slidesfile`.
  1141.  
  1142.     VPIC ver 3.2  10-29-90
  1143.        *  Fixed the bank switching for the Trident 8800 chip.
  1144.        *  Fixed a palette problem when viewing Targa files.
  1145.  
  1146.     VPIC ver 3.3  11-5-90
  1147.        *  Fixed problem with lines on VGA pics in slide mode.
  1148.        *  Added animate command in slide command file, and speed control for
  1149.           animation.
  1150.        *  Fixed MCGA 16 color palette.
  1151.        *  Fixed ATI 1024x768x16 slide mode.
  1152.  
  1153.     VPIC ver 3.4  11-21-90
  1154.        *  Fixed most conversion routines so they work in ATI 1024x768x16 mode;
  1155.           can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  1156.        *  Fixed most viewing routines so they work in ATI 1024x768x16 mode;
  1157.           can't do EGA Paint or 16 color ColoRIX, or Pictor EGA files.
  1158.        *  Fixed bugs in conversion for pics less than screen width wide.
  1159.        *  Cleaned up numerous small bugs.
  1160.        *  Added BIF Binary Image File from B&W image capture boards.
  1161.  
  1162.     VPIC ver 3.5  12-15-90
  1163.         *  Added 64 shade gray conversion for VGA images (press b while viewing).
  1164.         *  Added auto-centering for pictures smaller than the screen.
  1165.         *  For slides, now displays as much of picture as memory will allow.
  1166.  
  1167.                                                                         Page A7
  1168.  
  1169.  
  1170.  
  1171.     VPIC ver 4.0  02-13-91
  1172.         * Added GIF89a features including transparent color, variable size plain
  1173.           text, user input, variable delay, and display of  comments.  Works  in
  1174.           all EGA and VGA modes.
  1175.         * Fixed all file conversions so they work with centered images.
  1176.         * Improved palette selection, and made hi contrast help messages.
  1177.  
  1178.     VPIC ver 4.0a 02-20-91
  1179.         * Added OAK and new ATI (with normal 1024x768x16 mode) card.
  1180.         * Added `whichvga' program to try to identify your VGA chip.
  1181.  
  1182.     VPIC ver 4.1  03-15-91
  1183.         * Added Microsoft Windows 3.0 Bitmap BMP file viewing/saving in compres-
  1184.           sed or uncompressed format. Sometimes  uncompressed  is  smaller  than
  1185.           compressed.
  1186.         * Changed VGA chip designators, added VGA chips; see CONFIG.DOC. Be sure
  1187.           to use the version of CVPIC supplied with this version of VPIC.
  1188.  
  1189.     VPIC ver 4.2  04-10-91
  1190.         * Fixed palette bug which would reverse black and white in some pictures.
  1191.         * Fixed menu when disk was rescanned.
  1192.  
  1193.     VPIC ver 4.3  04-27-91
  1194.         * Added x and y offset, and inhibit filename display, from command  line
  1195.           using /x, /y, and /z options.
  1196.         * Added overlaying of pictures onto display using the 'F' command  while
  1197.           viewing a picture.
  1198.  
  1199.     VPIC ver 4.3a 05-05-91
  1200.         * Fixed ATI VGA Wonder scrolling.
  1201.  
  1202.     VPIC ver 4.3b 05-15-91
  1203.         * Fixed EGA palette.
  1204.  
  1205.     VPIC ver 4.4  07-09-91
  1206.         * Added mouse support for the menu screen (so far).
  1207.         * Added Viewpoint picture viewing (.PIC files).
  1208.         * Added wider selection of menu colors; see CONFIG.DOC.
  1209.         * Added a mode set from the command line.
  1210.         * Added 1280x1024 EGA modes (DEFINICON.CFG)
  1211.         * Fixed a bug in the BMP decoder for OS/2 PM files.
  1212.         * Fixed a bug in slides mode.
  1213.  
  1214.     VPIC ver 4.5  08-05-91
  1215.         * Added full VESA autodetect and use for all 16 and 256 color modes.
  1216.         * Added mouse support in the menu.
  1217.         * Added Tseng ET-4000 HiColor (32K colors) support for Targa files.
  1218.  
  1219.     VPIC ver 4.5a 08-15-91
  1220.         * Did some cosmetic fixes for mouse operation.
  1221.         * Marked files now don't stay marked when you change directories.
  1222.         * Added 2 pages of comment storage for GIF89a files.
  1223.  
  1224.                                                                         Page A8
  1225.  
  1226.  
  1227.  
  1228.     VPIC ver 4.6  08-23-91
  1229.         * Fixed a VESA related problem with late STB boards.
  1230.         * Added /v command line option to ignore VESA info and use config  file
  1231.           data.
  1232.         * Fixed a Windows BMP problem; removed compressed option for conversion.
  1233.         * Fixed GIF89a with comments problem.
  1234.  
  1235.     VPIC ver 4.7  never released
  1236.         Someone tried to add the Dark Avenger virus to VPIC in the Boston  area. You
  1237.         can't change a single byte in VPIC or it will refuse to  run,  since  it
  1238.         does a checksum on itself. They used a batch file or some  other  sneaky
  1239.         thing, and had the virus assemble and execute after exiting VPIC. It was
  1240.         not detected by Central Point Virus Scan, since it wasn't an EXE or  COM
  1241.         file, but was detected by someone there who sent me a  letter  with  the
  1242.         name and phone number of the person who uploaded it. The FBI is current-
  1243.         ly investigating it.
  1244.  
  1245.     VPIC ver 4.8  02-20-92
  1246.         * Fixed BMP viewing and conversion so Windows will read all files creat-
  1247.           ed by VPIC (compressed too), and VPIC will view all files that windows
  1248.           does.
  1249.         * Added general means of telling VPIC in the  configuration  file  about
  1250.           the presence of the Sierra DAC and what modes it works in.
  1251.         * VPIC now comes up with mouse cursor out of  the  way  in  upper  right
  1252.           corner.
  1253.         * Added /l option for putting another picture on the screen from an app-
  1254.           lication; doesn't change the video mode.
  1255.         * Added Alt_D from menu to change the slide delay for marked files.
  1256.         * Added QUIT command in slide command file to do just 1 pass and quit.
  1257.         * Fixed numerous minor bugs in ver 4.6.
  1258.